package com.li.jiang.controller;


import com.li.jiang.service.impl.LabServiceImpl;
import com.li.jiang.service.impl.PostLabServiceImpl;
import com.li.jiang.utils.ReturnMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 岗位标签表 前端控制器
 * </p>
 *
 * @author 李江
 * @since 2024-04-17
 */
@RestController
@RequestMapping("/lab")
public class LabController {
    @Autowired
    private LabServiceImpl service;
    @GetMapping("/getAllLab")
    public ReturnMessage getPostLab(){

        return ReturnMessage.success("获取标签成功!",service.list());
    }
}
